#include "Exception.hpp"

#include <string.h>

namespace se {
Exception::Exception(const char* fileName, uint16_t line, const char* what) throw():
	//m_what(),
	m_where(){
	m_where.file = fileName;
	m_where.line = line;
	strncpy(m_what, what, 1024);
}

const char* Exception::what() const throw() {
	return m_what;
}

const CodePosition Exception::where() const throw() {
	return m_where;
}

Exception::~Exception() throw() { }

}// namespace se
